package org.yzh.protocol.hlj;

import io.github.yezhihao.protostar.annotation.Field;

/**
 * OBD 车辆状态数据格式
 */
public class ObdExtra {

    @Field(length = 2, desc = " OBD 速度: 单位为 1/10 公里每小时（1/10km/h）")
    private int obdSpeed;

    @Field(length = 1, desc = "档位状态: 0x00 ：空挡； 0x01~09：档位； 0x10 ：倒挡； 0x11 ：驻车档")
    private int gearStatus;

    @Field(length = 1, desc = "加速踏板行程值： 范围 1~100，单位%")
    private int acValue;

    @Field(length = 1, desc = "制动踏板行程值： 范围 1~100，单位%")
    private int deValue;

    @Field(length = 2, desc = "发动机转速: 单位 RPM")
    private int rotateSpeed;

    @Field(length = 2, desc = "方向盘角度: 方向盘转过的角度，顺时针为正，逆时针为负")
    private int swAngle;

    @Field(length = 1, desc = "空调状态: 0x00 ：关； 0x01 ：开")
    private int airConditionStatus;

    @Field(length = 1, desc = "加热器状态")
    private int heaterStatus;

    @Field(length = 1, desc = "离合器状态")
    private int clutchStatus;

    @Field(length = 1, desc = "ABS 状态")
    private int absStatus;

    @Field(length = 1, desc = "示廓灯状态")
    private int outlineLamp;


    public int getObdSpeed() {
        return obdSpeed;
    }

    public void setObdSpeed(int obdSpeed) {
        this.obdSpeed = obdSpeed;
    }

    public int getGearStatus() {
        return gearStatus;
    }

    public void setGearStatus(int gearStatus) {
        this.gearStatus = gearStatus;
    }

    public int getAcValue() {
        return acValue;
    }

    public void setAcValue(int acValue) {
        this.acValue = acValue;
    }

    public int getDeValue() {
        return deValue;
    }

    public void setDeValue(int deValue) {
        this.deValue = deValue;
    }

    public int getRotateSpeed() {
        return rotateSpeed;
    }

    public void setRotateSpeed(int rotateSpeed) {
        this.rotateSpeed = rotateSpeed;
    }

    public int getSwAngle() {
        return swAngle;
    }

    public void setSwAngle(int swAngle) {
        this.swAngle = swAngle;
    }

    public int getAirConditionStatus() {
        return airConditionStatus;
    }

    public void setAirConditionStatus(int airConditionStatus) {
        this.airConditionStatus = airConditionStatus;
    }

    public int getHeaterStatus() {
        return heaterStatus;
    }

    public void setHeaterStatus(int heaterStatus) {
        this.heaterStatus = heaterStatus;
    }

    public int getClutchStatus() {
        return clutchStatus;
    }

    public void setClutchStatus(int clutchStatus) {
        this.clutchStatus = clutchStatus;
    }

    public int getAbsStatus() {
        return absStatus;
    }

    public void setAbsStatus(int absStatus) {
        this.absStatus = absStatus;
    }

    public int getOutlineLamp() {
        return outlineLamp;
    }

    public void setOutlineLamp(int outlineLamp) {
        this.outlineLamp = outlineLamp;
    }
}
